<template>
  <div>
    <div class="edit-top">
      修改信息
      <i class="el-icon-close" @click='cancel'></i>
    </div>
    <div class="edit-content">
      <div class="edit-title">基础信息</div>
      <div class="edit-item">
        <label>企业编号</label><input type="text" />
      </div>
      <div class="edit-item">
        <label>企业名称</label><input type="text" />
      </div>
      <div class="edit-item">
        <label>企业地址</label><input type="text" />
      </div>
      <div class="edit-item">
        <label>联系人</label><input type="text" />
      </div>
      <div class="edit-item">
        <label>联系电话</label><input type="text" />
      </div>
      <div class="edit-title">开户信息</div>
      <div class="edit-item">
        <label>开户行</label><input type="text" />
      </div>
      <div class="edit-item">
        <label>开户姓名</label><input type="text" />
      </div>
      <div class="edit-item">
        <label>开户账号</label><input type="text" />
      </div>
    </div>
    <div class="edit-bottom">
      <span @click='cancel'>取消</span><el-button @click='save' type="primary">保存</el-button>
    </div>
  </div>
</template>

<script>
  export default{
    methods:{
      save(){
        this.$emit("saveEdit",1);
      },
      cancel(){
        this.$emit("saveEdit",1);
      }
    }
  }
</script>

